package TransactionImplementation

import (
	"SalaryPayment/AbstractTransaction"
	"SalaryPayment/Model"
	"SalaryPayment/ModelImplementation"
)

type ChangeMailTransaction struct {
	itsAddress string
	AbstractTransactions.ChangeMethodTransaction
}

func(cmt *ChangeMailTransaction) GetMethod() Model.PaymentMethod {
	return ModelImplementation.NewMailMethod(cmt.itsAddress)
}